package graphics;
/*
 * Zombinoes: Peter Mosher, Michael Pitts
 * TCSS 491 - Computational Worlds
 * Project 1
 */

/**
 * The different shapes.
 * @author Michael Pitts
 * @version Feb 4, 2012
 */
public enum Shape {
	
	/** The Circle Shape. */
	CIRCLE() {
		@Override public Node getShape() {
			final Node circle = GraphicsLib.getCircle(90);
			//final Node circle = GraphicsLib.getTriForce();
			circle.setScale(0.25f, 0.25f, 1);
			return circle;
		}
	},
	
	/** The Tri Force shape. */
	TRI_FORCE() {
		@Override public Node getShape() {
			final Node tri_force = GraphicsLib.getTriForce();
			tri_force.setScale(0.25f, 0.25f, 1);
			return tri_force;
		}
	},
	
	/** The Hexagon shape. */
	HEXAGON() {
		@Override public Node getShape() {
			final Node hexagon = GraphicsLib.getHexagon();
			hexagon.setScale(0.25f, 0.25f, 1);
			return hexagon;
		}
	},
	
	/** The Square Shape. */
	SQUARE() {
		@Override public Node getShape() {
			final Node square = GraphicsLib.getSquare();
			square.setScale(0.25f, 0.25f, 1);
			return square;
		}
	},
	
	/** The Triangle Shape. */
	TRIANGLE() {
		@Override public Node getShape() {
			final Node square = GraphicsLib.getEquilateralTriangle();
			square.setScale(0.25f, 0.25f, 1);
			return square;
		}
	},
	
	/** The remove a shape "shape". */
	REMOVE() {
		@Override public Node getShape() {
			return null;
		}
	};
	
	private Shape() {
		
	}
	
	public abstract Node getShape();
}
